﻿
#include "log.h"

//函数形参代表要记录的命令字符串
void netdiskLog(char*infoTolog){
      openlog("netdisk",LOG_PID,LOG_LOCAL1);//程序名暂时用netdisk代替
      syslog(LOG_INFO,"%s:%m",infoTolog);
      closelog();
}
